home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / treesurg.arc / TREESURG.DOC next >
Encoding:
Text File  |  1986-10-05  |  5.2 KB  |  93 lines

  1.                            The Tree Surgeon
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Introduction:
  8.       The Tree Surgeon is designed to aid a user in identifying and
  9. dealing with duplicate files that hard disks are prone to collect on
  10. the many branches of the subdirectory tree of an MS-DOS or PC-DOS
  11. system (version 2.00 or later).  These duplicate files exist for many
  12. reasons.  Older programs may only deal with files in the current
  13. subdirectory.  Some programs may require data files in certain
  14. subdirectories.  Often the files involved will be copied from another
  15. subdirectory and not deleted.  Sometimes different subdirectories will
  16. contain different versions of the same program or data.  Finally
  17. subdirectories created by copying all the files from a bootable floppy
  18. will contain several extra copyies of files like COMMAND.COM,
  19. AUTOEXEC.BAT, and CONFIG.SYS.
  20.       The Tree Surgeon will give you a scrollable list of all files
  21. which have been found in two or more subdirectories.  Several
  22. operations can be performed by moving the cursor to the file or
  23. subdirectory and typing the one character command.  There are commands
  24. for comparing like-named files and commands for "pruning" dead branches
  25. (files) from the tree.
  26.  
  27. Usage:
  28.       Tree Surgeon is invoked without any parameters, since the files to
  29. be acted upon will be determined by reading through the subdirectories
  30. of your hard disk.  When this process is through, you will be presented
  31. with a screen that contains several of the files involved.  File names
  32. will be the leftmost names on the screen.  Under each file, two or more
  33. subdirectories will be listed.  The options available to you depend upon
  34. whether the cursor is on a file entry or a subdirectory entry.  In
  35. addition to the commands are several scrolling keys.  Scrolling enables
  36. you to view the entries that are not currently shown on the screen as
  37. well as to select a particular entry that is on the screen.
  38. Scrolling Keys:
  39.       The PgUp and PgDn keys on your numeric keypad enable you to
  40. either view entries that you have already passed (PgUp) or to see
  41. entries that are beyond the current screen (PgDn).  When the screen
  42. showing duplicates first appears on your computer, it will show the
  43. duplicate files in alphabetical order.  Pressing PgDn will show you the
  44. next page of files.  Pressing PgUp will show you the previous page of
  45. files.  The arrow keys enable you to step through the files and
  46. subdirectories one by one.  The UP arrow moves the cursor up to the
  47. previous line on the screen unless it is already at the first file on
  48. the screen.  The DOWN arrow works the same way, but moves the cursor
  49. down through the list of files and subdirectories, scrolling when it
  50. reaches the end of the screen.  Commands for File entries:
  51.       In some cases all that you will need to determine if a file is
  52. duplicated is to see the file size, or time and date stamp.  In other
  53. cases you might wish to compare the entire files to insure that what
  54. you believe is a duplicate file is not really the latest version of
  55. your new program or data.  Thus two commands are supported when the
  56. cursor is pointing to file entries.  To enter the command, simply type
  57. the first letter of the command when the cursor is pointing to the file
  58. group you wish to investigate.
  59.       The first command is Attribute.  It will temporarily display the
  60. file attributes for each subdirectory that the file is in.  The first
  61. field will show R (for read only) S (for system file) H (for hidden) and
  62. A (for Archived file) as appropriate for the files.  Following that will
  63. be the date and time of last update for the file, and finally the file
  64. size.
  65.       The second command is Compare.  It will check to see if the file
  66. sizes are the same for each pair of files.  If the sizes are the same
  67. it will compare the files, byte for byte, until the end of file or until
  68. the files prove to be different.  It will report its findings for each
  69. pair of files and wait for any character to switch back to the
  70. screen showing duplicates.
  71. Commands for Subdirectory Entries:
  72.       There are currently two commands which can be invoked when the
  73. cursor is pointing to a subdirectory entry.  The first and most useful
  74. is the Delete command.  After insuring that you really meant to delete
  75. the file, the file will be deleted.  If the file happens to be marked
  76. read-only, a second prompt will ask you to reconfirm that you wish to
  77. delete the read-only file.  The second command is Rename.  When you ask
  78. to rename a file, you will be prompted for the new name of the file.
  79. The file will then be renamed.  If a full path name is entered (i.e.
  80. \sub1\sub2\filename.ext) the file will be renamed and moved to the new
  81. subdirectory.  After either command successfully completes, the
  82. entry will be deleted from the screen, since a duplicate condition
  83. no longer exists.  No checking is done to see if a new duplicate exists.
  84.  
  85.       This program is released into the Public Domain.  Permission to
  86. copy the program and documentation (without modifications) is freely
  87. granted.  The program or portions of it may be used in other code so
  88. long as the copyright notice is left intact on the portion copied.
  89.  
  90.  
  91.  
  92. (C) Copyright 1986 Harvey W. Miller.  All rights reserved.
  93.